package com.hibase.core.log.service;

import com.github.pagehelper.PageInfo;
import com.hibase.core.log.entity.MdsOperationLog;
import com.hibase.core.log.entity.vo.MdsOperationLogSearchVO;
import com.hibase.core.mybatis.service.BaseService;

import java.util.List;

/**
 * <p>
 * 操作日志 服务类
 * </p>
 *
 * @author chenfeng
 * @since 2021-03-10
 */
public interface MdsOperationLogService extends BaseService<MdsOperationLog> {

    /**
     * 查询操作日志列表
     *
     * @param searchVO
     * @return
     */
    PageInfo<MdsOperationLog> selectMdsOperationLogList(MdsOperationLogSearchVO searchVO);

    /**
     * 改变操作日志记录
     *
     * @param entity
     * @return
     */
    void saveMdsOperationLog(MdsOperationLog entity);

    /**
     * 查询操作日志详情
     *
     * @param id
     * @return
     */
    MdsOperationLog viewMdsOperationLog(String id);

    /**
     * 删除操作日志
     *
     * @param id
     */
    void deleteMdsOperationLog(String id);

    /**
     * 查询操作日志列表top
     *
     * @param searchVO
     * @return
     */
    List<MdsOperationLog> selectList(MdsOperationLogSearchVO searchVO);
}
